package com.ruoyi.manage.domain.request;

/**
 * @Author: wwy
 * @Date: 2021/1/5 13:50
 */
public class LoginRequest {
    private String username;
    private String password;
    private String verificationCode;
    /**
     * 登录类型
     * 0：账号密码
     * 1：短信登录
     */
    private Integer type;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getVerificationCode() {
        return verificationCode;
    }

    public void setVerificationCode(String verificationCode) {
        this.verificationCode = verificationCode;
    }

    @Override
    public String toString() {
        return "LoginRequest{" +
                "username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", verificationCode='" + verificationCode + '\'' +
                ", type=" + type +
                '}';
    }
}
